package edu.sctu.practice.class01.wulixia.month11_wlx.test24;

/**
 * Created by wulixia on 2015/11/12.
 */
public class NewDoor extends Door implements TheftProof,WaterProof{
    @Override
    public void theftProof() {
        System.out.println("此门防盗");
    }

    @Override
    public void waterProof() {
        System.out.println("此门防水");
    }

    public static void main(String[] args) {

        System.out.println("这个门的功能：");

        new NewDoor().openDoor();
        new NewDoor().closeDoor();
        new NewDoor().theftProof();
        new NewDoor().waterProof();

    }
}
